package com.yjc.dp;

/**
 * LCS 01. 下载插件
 *
 * @author yjc
 * @create 2024-07-24 14:07
 */
public class Subject_9 {
    public static void main(String[] args) {
        int n = 1;
        int bandWidth = 1;//带宽初始为 1
        int min = 1;//初始一分钟

        while (bandWidth < n) {
            bandWidth = bandWidth << 1;//左移一位，相当于乘2
            min++;//花费时间加一分钟
        }
        System.out.println(min);


    }
}
